local E, L, V, P, G,_ = unpack(ElvUI)
local AS = E:GetModule('AddOnSkins')
local S = E:GetModule('Skins')

local name = 'IncomingSkin'
function AS:SkinIncoming()
	AS:SkinFrame(LocationMessageView)

	local buttons = {
		"Incoming1",
		"Incoming2",
		"Incoming3",
		"Incoming4",
		"Incoming5",
		"AllClear",
		"Incoming",
		"SendMore",
	}

	for _, button in pairs(buttons) do
		S:HandleButton(_G[button])
	end	
	
	LocationMessageView:SetWidth(99)
	LocationMessageView:SetHeight(130)
	Incoming5:SetWidth(29)

	Incoming1:Point("TOPLEFT", LocationMessageView, "TOPLEFT", 3, -3)
	Incoming2:Point("TOPLEFT", LocationMessageView, "TOPLEFT", 19, -3)
	Incoming3:Point("TOPLEFT", LocationMessageView, "TOPLEFT", 35, -3)
	Incoming4:Point("TOPLEFT", LocationMessageView, "TOPLEFT", 51, -3)
	Incoming5:Point("TOPLEFT", LocationMessageView, "TOPLEFT", 67, -3)
	AllClear:Point("TOPLEFT", LocationMessageView, "TOPLEFT", 3, -40)
	Incoming:Point("TOPLEFT", LocationMessageView, "TOPLEFT", 3, -70)
	SendMore:Point("TOPLEFT", LocationMessageView, "TOPLEFT", 3, -100)
	
end

AS:RegisterSkin(name,AS.SkinIncoming)
